/*--    ESTILOS PARA "red_personas.php" --*/

.ContainerPersonas {
    max-width: autopx;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
    margin: 0;
    /* Ensure no default margin */
    padding-top: 0;
    /* Remove any padding */
    position: relative;
    /* Positioning context */
    overflow: hidden;
    /* Prevent overflow on hover */
}

.ContainerPersonas:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    /* Sombra más intensa al pasar el mouse */
}

.titulor {
    padding: 20px;
    color: #691C32;
    text-align: left;
    font-weight: bold;
    font-size: 1.5em;
}

.directorio {
    padding: 20px;
    color: #9F2241;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
}

.buttons {
    margin-top: 10px;
    text-align: center;
}

.btn-language {
    background-color: #BC955C;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    /* Redondear las esquinas */
    transition: background-color 0.3s ease;
}

.btn-language:hover {
    background-color: #9F2241;
    /* Cambia el color al pasar el mouse */
}

.person-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    /* Bordes redondeados */
    padding: 20px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    /* Separación entre tarjetas */
    background-color: #fff;
    /* Fondo blanco */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra para un efecto profesional */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Transición para efecto hover */
}

.person-card:hover {
    transform: translateY(-5px);
    /* Efecto de elevarse al pasar el mouse */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Sombra más fuerte al pasar el mouse */
}

.person-card img {
    border-radius: 50%;
    margin-right: 20px;
    width: 100px;
    height: 100px;
    /* Tamaño uniforme */
    object-fit: cover;
    /* Ajustar imagen sin distorsionar */
    border: 3px solid #BC955C;
    /* Añade un borde alrededor de la imagen */
}

.person-details {
    flex-grow: 1;
}

.person-details h2 {
    margin: 0;
    color: #69003b;
    font-size: 1.4em;
    font-weight: bold;
}

.person-details p {
    margin: 5px 0;
    line-height: 1.5;
    color: #555;
}

.person-details .contact-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    /* Línea divisoria superior */
    font-size: 0.9em;
    color: #777;
}

.person-details .contact-info a {
    color: #69003b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.person-details .contact-info a:hover {
    color: #9F2241;
    /* Cambia de color al pasar el mouse */
}
.directory-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


/* Estilos para dispositivos moviles */
@media (max-width: 767px) {
  .person-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .person-card img {
    margin-bottom: 16px;
  }

  .person-details {
    text-align: center;
  }
}